Click on this to insert the number of pages in the document into the selected header or footer. If the number of pages changes, this will be updated automatically.